<?php
    
    include "database.php";

    $ary = array();
    $ary[0] = 1;
    $ary[1] = 3;

    print_r($ary);
    
    $a = array(1, 3);
    print_r($a);

    $db = new Database();
    $sqls = array("insert into article (content, createTime) values (?, ?)", "update article set ids=19 where id = 5");
    
//     $ids = $db->RunSqls($sqls, array(array("Hello", date("Y-m-d H:i:s")), array()));
//     print_r($ids);
    
    $d=mktime(25, 12, 61, 6, 10, 2015);
    echo "创建日期是 " . date("Y-m-d h:i:sa", $d);
    $tm = time();
    echo $tm;
    echo "<br>";
    $tm = time() + 3600;
    echo date("Y-m-d H:i:s", $tm) ;
    
    
?>